package edu.unc.comp410.colemangeer.model.constraints;


public class AreaCodeConstraint extends IntegerConstraint {

	private static final int minVal = 201;
	private static final int maxVal = 989;
	
	public AreaCodeConstraint(String theName, boolean theOptional,
			Integer theMin, Integer theMax) {
		super(theName, theOptional, theMin, theMax);
	}

	public AreaCodeConstraint(String theName, boolean theOptional) {
		super(theName, theOptional, minVal, maxVal);
	}

}
